[iPhone] How to control other buttons' actions?

Posted by Devoted on Stack Overflow See other posts from Stack Overflow or by Devoted
Published on 2010-06-16T23:17:19Z Indexed on 2010/06/16 23:22 UTC
Read the original article Hit count: 166

Filed under:

Hi so say I have this code:

UIAlertView *alert = [[UIAlertView alloc]
initWithTitle: @"Yay"
message: msg
delegate: self
cancelButtonTitle: @"Proceed..."
otherButtonTitles: @"1", @"2", nil];

How do I control the other buttons "1" and "2"? (Suppose all other necessary code is in place, such as the undefined variable msg)

Thanks!

© Stack Overflow or respective owner

Related posts about iphone